import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      // 首页
      path: '/',
      name: 'home',
      component: () => import('../views/HomeView.vue')
    },
    {
      // 修改账户页面
      path: '/SetAccount/:id',
      name: 'SetAccount',
      component: () => import('../views/SetAccount.vue')
    }
    
  ]
})

export default router
